package com.css.crm.dao;

import com.css.crm.vo.CustomerActivityVo;

/**
 * Interface for DAO on table VP_CUST_ACTV
 * 
 * @author AIS
 */
public interface CustomerActivityDao extends BaseDao {

	/**
	 * Get specific customer activity record by customer id
	 * 
	 * @param custId
	 *            Customer id to specific record to be retrieved
	 * @return Specific customer activity record
	 */
	CustomerActivityVo getCustomerActivityByPK(String custId);

	/**
	 * Create customer activity record
	 * 
	 * @param customerActivity
	 *            CustomerActivityVo object
	 * @return Row count affected
	 */
	int insertCustomerActivity(CustomerActivityVo customerActivity);

	/**
	 * Update customer activity record
	 * 
	 * @param customerActivity
	 *            Updated CustomerActivityVo object
	 * @return Row count affected
	 */
	int updateCustomerActivityByPK(CustomerActivityVo customerActivity);

	/**
	 * Delete specific customer activity record
	 * 
	 * @param custId
	 *            Customer id to specific record to be deleted
	 * @return Row count affected
	 */
	int deleteCustomerActivityByPK(String custId);
}
